package funit.core.events
{
	import flash.events.Event;
	
	import funit.core.ITest;
	
	public class TestLoadEvent extends Event
	{
		public static const LOAD:String = "load";
		public static const UNLOAD:String = "unload";
		
		private var _test:ITest;
		
		
		public function TestLoadEvent( type:String, test:ITest )
		{
			super(type);
			
			_test = test;
		}
		
		
		/**
		 * @return
		 */
		override public function clone() : Event
		{
			return new TestLoadEvent(type, test);
		}
		
		
		/**
		 * 
		 */
		public function get test() : ITest
		{
			return _test;
		}
		
	}
	
}
